- if logged_in?
  = render 'users/user_panel'
- else
  .ui.grid.form.basic.segment
    #full-button.ui.buttons.sixteen.wide.column
      = link_to "#{t('users.signup')}", :signup, class: "ui blue inverted button"
      .or
      = link_to "#{t('users.login')}", :login, class: "ui purple inverted button"
  .ui.red.inverted.center.aligned.segment
    #site-status
      = link_to "中文简体", set_locale_url(locale: "zh-CN"), class: "ui red label"
      = link_to "English", set_locale_url(locale: "en"), class: "ui red label"
      .ui.divider
      .site-params
        p #{t('.total_users')}: #{t('users.show.users_count', count: User.count)}
        p #{t('users.show.total_songs')}: #{t('users.show.songs_count', count: Song.count)}
        p #{t('users.show.total_comments')}: #{t('users.show.comments_count', count: Comment.count)}